package searchteam.client.ui.handlers;

import com.google.gwt.event.dom.client.ClickEvent;
import com.google.gwt.event.dom.client.ClickHandler;

import searchteam.client.ui.widgets.DataPanel;
import searchteam.client.ui.widgets.Mirror;

public class MirrorClickHandler implements ClickHandler{

	private DataPanel panel;
	private Mirror bean;
	
	public MirrorClickHandler(DataPanel p, Mirror b) {
		panel = p;
		bean = b;
	}

	public void onClick(ClickEvent event) {
		panel.displayMirror(bean);
	}
}
